//跨域代理前缀
// const API_PROXY_PREFIX='/api'
// const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
const BASE_URL = process.env.VUE_APP_API_BASE_URL
module.exports = {
  LOGIN: `${BASE_URL}/aristotle-oauth2-service/oauth/token`,
  GET_USER: `${BASE_URL}/aristotle-oauth2-service/oauth/getUser`,


  ROUTES: `${BASE_URL}/routes`,
  /*GOODS: `${BASE_URL}/goods`,
  GOODS_COLUMNS: `${BASE_URL}/columns`,*/

  ROLE: `${BASE_URL}/aristotle-user-service/role`,
  ROLE_PAGE: `${BASE_URL}/aristotle-user-service/role/page`,

  USER: `${BASE_URL}/aristotle-user-service/user`,
  USER_PAGE: `${BASE_URL}/aristotle-user-service/user/page`,

  USER_ROLE: `${BASE_URL}/aristotle-user-service/userRole`,
  USER_ROLE_PAGE: `${BASE_URL}/aristotle-user-service/userRole/page`,

  PERMISSION: `${BASE_URL}/aristotle-user-service/permission`,
  PERMISSION_PAGE: `${BASE_URL}/aristotle-user-service/permission/page`,

  ROLE_PERMISSION: `${BASE_URL}/aristotle-user-service/rolePermission`,
  ROLE_PERMISSION_PAGE: `${BASE_URL}/aristotle-user-service/rolePermission/page`,

  TEMPLATE: `${BASE_URL}/aristotle-user-service/template`,
  TEMPLATE_PAGE: `${BASE_URL}/aristotle-user-service/template/page`,

  GENERATOR: `${BASE_URL}/generator-service/generator`,

}
